package com.sc.javaee.service;

import com.sc.javaee.pojo.Cart;
import org.springframework.stereotype.Service;

import java.util.List;


public interface CartService {
    public int add(Cart c);
    public Cart select(Integer id);
    public int update(Cart c);
    public int batchUpdate(Cart c);
    public int batchAdd(Cart c);
    //查询购物车数据
    public List<Cart> selectCard();
    //批量删除购物车中的商品数据
    public int batchDel(Integer[] ids);
}
